/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Teste;

import Cliente.Cliente;
import java.io.IOException;
import java.net.SocketException;
import java.net.UnknownHostException;

/**
 *
 * @author Murilo
 */
public class TesteCliente {
    
    public static void main(String args[]) throws UnknownHostException, SocketException, IOException{
        try{
            Cliente cliente = new Cliente();
            while(true){
                
                cliente.requisitarObjeto();
                cliente.receberObjeto();
                Thread.sleep(10000);
                //cliente.fecharCliente();
            }
        }catch(Exception ex){
            ex.printStackTrace();
        }
    }
    
}
